package corejava;

public class LaptopDemo {

	public static void main(String[] args) {
	
		Laptop hp = new Laptop();
		
		hp.color = "Black";
		hp.make = "HewlettPackard";
		hp.model = "G60";
		hp.size = 20;
		
		System.out.println("The HP is ON = " + hp.isOn);
		
		if (!hp.isOn) {

	hp.isOn();
		
		}
		
		

	}

}
